package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitArticleCategoryRouter(Router *gin.RouterGroup) {
	ArticleCategoryRouter := Router.Group("articleCategory").Use(middleware.OperationRecord())
	{
		ArticleCategoryRouter.POST("createArticleCategory", v1.CreateArticleCategory)   // 新建ArticleCategory
		ArticleCategoryRouter.DELETE("deleteArticleCategory", v1.DeleteArticleCategory) // 删除ArticleCategory
		ArticleCategoryRouter.DELETE("deleteArticleCategoryByIds", v1.DeleteArticleCategoryByIds) // 批量删除ArticleCategory
		ArticleCategoryRouter.PUT("updateArticleCategory", v1.UpdateArticleCategory)    // 更新ArticleCategory
		ArticleCategoryRouter.GET("findArticleCategory", v1.FindArticleCategory)        // 根据ID获取ArticleCategory
		ArticleCategoryRouter.GET("getArticleCategoryList", v1.GetArticleCategoryList)  // 获取ArticleCategory列表
	}
}
